<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>css的可见性</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" media="screen" href="main.css" />
    <script src="main.js"></script>
    <style type="text/css">

        .one{
            width: 300px;
            height: 300px;
            border: 1px solid red;
            /* display: none;  */      /* 将元素进行隐藏 */
            /* visibility: hidden;*/  /* 将元素进行隐藏 */
        }

        .two{
            width: 200px;
            height: 200px;
            border: 1px solid green;
        }
        </style>

</head>
<body>
    <div class="one"  id="one"></div>

</body>
</html>